<div class="border-bottom">
  <h2 class="pt-3 pb-2"><%= t ".title" %></h2>
</div>

<%= render 'good_job/batches/table', batches: @filter.records, filter: @filter %>
<% if @filter.records.present? %>
  <nav aria-label="Batch pagination" class="mt-3">
    <ul class="pagination">
      <li class="page-item">
        <%= link_to(@filter.next_page_params, class: "page-link") do %>
          <%= t ".older_batches" %> <span aria-hidden="true">&raquo;</span>
        <% end %>
      </li>
    </ul>
  </nav>
<% end %>
